package com.hjm.project.ActActive.ActActive.domain;

import com.hjm.framework.aspectj.lang.annotation.Excel;
import lombok.Data;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

/**
 * 活动配置对象 act_active
 *
 * @author LOVE
 * @date 2020-11-28
 */
@Data
public class ActActive
{
    private static final long serialVersionUID = 1L;

    /**
     * 是否选中 false 否 ture 是
     */
    private Boolean checked = false;


    /** 活动编号 */
    private String actId;

    /** 活动名称 */
    @Excel(name = "活动名称")
    private String actName;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createname;

    /** 状态  0正常   1删除 */
    @Excel(name = "状态  0正常   1删除")
    private Long status;

    /** 活动开始日期 */
    @Excel(name = "活动开始日期")
    private String beginTime;

    /** 活动结束日期 */
    @Excel(name = "活动结束日期")
    private String endTime;

    /** 激活返现规则 */
    @Excel(name = "激活返现规则")
    private String activationRule;

    /** 交易达标返现规则 */
    @Excel(name = "交易达标返现规则")
    private String complianceRule;

    /** 分润规则 */
    @Excel(name = "分润规则")
    private String shareRule;

    /** 交易达标返现规则(服务费) */
    @Excel(name = "交易达标返现规则(服务费)")
    private String serviceComplianceRule;

    private String type;

    private String model;

    private Integer buyMoney;

    private String proYlId;

    private String agentNum;

    private String proYlName;

    private Integer posType;

    private String simFeeReturn;
    private String sim_fee_keep;

    private String serviceFeeReturn;
    private String service_fee_keep;


    private String award_leader;

    private String award_team;

    private String award_sales;

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    private String createtime;

    public String getCreatetime() {
        return createtime;
    }

    public void setCreatetime(String createtime) {
        this.createtime = createtime;
    }

    public void setActId(String actId)
    {
        this.actId = actId;
    }

    public String getActId()
    {
        return actId;
    }
    public void setActName(String actName)
    {
        this.actName = actName;
    }

    public String getActName()
    {
        return actName;
    }
    public void setCreatename(String createname)
    {
        this.createname = createname;
    }

    public String getCreatename()
    {
        return createname;
    }
    public void setStatus(Long status)
    {
        this.status = status;
    }

    public Long getStatus()
    {
        return status;
    }
    public void setBeginTime(String beginTime)
    {
        this.beginTime = beginTime;
    }

    public String getBeginTime()
    {
        return beginTime;
    }
    public void setEndTime(String endTime)
    {
        this.endTime = endTime;
    }

    public String getEndTime()
    {
        return endTime;
    }
    public void setActivationRule(String activationRule)
    {
        this.activationRule = activationRule;
    }

    public String getActivationRule()
    {
        return activationRule;
    }
    public void setComplianceRule(String complianceRule)
    {
        this.complianceRule = complianceRule;
    }

    public String getComplianceRule()
    {
        return complianceRule;
    }
    public void setShareRule(String shareRule)
    {
        this.shareRule = shareRule;
    }

    public String getShareRule()
    {
        return shareRule;
    }
    public void setServiceComplianceRule(String serviceComplianceRule)
    {
        this.serviceComplianceRule = serviceComplianceRule;
    }

    public String getServiceComplianceRule()
    {
        return serviceComplianceRule;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("actId", getActId())
            .append("actName", getActName())
            .append("createname", getCreatename())
            .append("status", getStatus())
            .append("beginTime", getBeginTime())
            .append("endTime", getEndTime())
            .append("activationRule", getActivationRule())
            .append("complianceRule", getComplianceRule())
            .append("shareRule", getShareRule())
            .append("serviceComplianceRule", getServiceComplianceRule())
            .toString();
    }
}
